/*
 * File Name: EAppExecutionMode.java
 *
 * Created on: November 16, 2007, 3:20 PM
 */

package co.edu.uniandes.intercon.client.gui.common.window;

/**
 * Valid modes used by the application
 * 
 * @author Fabian Gutierrez [fagossa@gmail.com]
 */
public enum EAppExecutionMode {
    CLIENT(""), /* Only starups client to connect to a running server */
    SERVER("server"), /* Only the server startups */
    ALONE("alone");  /* Uses a local file */
    
    private String mode;
    
    EAppExecutionMode(String mode) {
        this.mode = mode;
    }
    
    @Override
    public String toString() {
        return mode;
    }
}
